package com.ajk.server.controller.access;
public class Constant {
	public static final String start = "start";
	public static final String limit = "limit";
    public static final int DEFAULT_START = 0;
    public static final int DEFAULT_LIMIT = 20;
	
	public static class OrderAction {
		public static final int create = 0;
		public static final int update = 1;
		public static final int cancel = 2;
		public static final int deny = 3;
		public static final int approve = 4;
		public static final int pay = 5;
		public static final int deliver = 6;
		public static final int pickup = 7;
		public static final int reject = 8;
		public static final int close = 9;
	}
	
	public static class ServiceOrderState {
		public static final int cancel = -1;
		public static final int created = 0;
		public static final int paied = 1;
		public static final int processing = 2;
		public static final int finish = 3;
	}
	
	public static class ExaminationType 
	{
		public static final int routine_blood_examination = 0;
		public static final int glycosylated_hemoglobin_examination = 1;
		public static final int routine_urine_examination = 2;
		public static final int blood_fat_examination = 3;
		public static final int urinary_albumin_examination = 4;
		public static final int creatinine_renal_function_examination = 5;
		public static final int liver_function_examination = 6;
		public static final int electrocardiogram = 7;
		public static final int eye_examination = 8;
		public static final int foot_examination = 9;
	}
	
	/**
	 * 医生上线认证状态
	 * @author chancore
	 *
	 */
	public static class DoctorIsOnline{
		/**刚创建，未认证**/
		public static final int created = 0;
		/**已认证**/
		public static final int finish = 1;
		/**已申请，待审核**/
		public static final int processing = 2;
		/** 已下线 **/
		public static final int cancel = 3;
		
	}
	
	/**
	 * 文章父节点
	 * @author chancore
	 *
	 */
	public static class KnowledgeParent{
		/**学知识**/
		public static final int CATEGORY_XZS = -10;
		/**涨姿势**/
		public static final int CATEGORY_ZZS = -2;
		/**欢乐多**/
		public static final int CATEGORY_HLD = -3;
	}
	
	// Invoice Related
	public static final int Invoice_Personal = 0;
	public static final int Invoice_Company = 1;
	public static final int Invoice_Content_Detail = 0; 
	public static final int Invoice_Content_Office_Supplies = 1; 
	public static final int Invoice_Content_Computer_Components = 2; 
	public static final int Invoice_Content_Consumptive_Material = 3; 
	
	
	// --------------------------------------------------
	// Doctor Account Action
	public static final int Account_Apply_Action = 0;
	public static final int Account_Update_Action = 1;
	public static final int Account_Invite_Action = 2;
	public static final int Account_Apply_TurnonService = 3;
	
	public static final int Apply_Pending = 0;
	public static final int Apply_Approved = 1;
	public static final int Apply_Denied = -1;
	
	// ----------------------------------------------------------------
	public static final String Reminder_One_Time_Off = "o";
	public static final String Reminder_Week = "w";
	public static final String Reminder_Month = "m";
	public static final String Reminder_Quarter = "q";
	public static final String Reminder_Year = "y";
	
	// --------------------------------------------------
	// Send SMS action
	public static final int Send_SMS_VerifyCellphone = 0;
	public static final int Send_SMS_ApplyAccess = 1;
	public static final int Send_SMS_RecallPwd = 2;
	public static final int Send_SMS_ResendPwdToPatient = 3;
	
	public static final String mobile_regex = "1\\d{10}";
	public static final String email_regex = "^[a-zA-Z0-1].+@[a-zA-Z0-9]+\\.[a-zA-Z]+$";
	
	public static final String thread_id_regex = "^\\d+_\\d+$";
	
	public static final int File_Type_Unknown = -1;	
	public static final int File_Type_Audio = 1;	
	public static final int File_Type_Image = 2;
	
	public static final String SessionID_key = "com.gepingtech.sessionid";

	public static final int byb_team_id = 101;
	public static final int byb_doctor_team_id = 433969;
//	public static final int byb_doctor_id = 102;
	public static final int byb_doctor_id = 4450;
	public static final int byb_meiduli_support_id = 110;
	public static final int byb_system = 111;
	
	public static final int Platfrom_Web = 0;
	public static final int Platfrom_iOS = 1;
	public static final int Platfrom_Android = 2;
	
	// Server API version
	public static final String api_version = "v2.0";	
	public static final String packagename = "bybev16";
	
	//校验参数
	public static final String param_wrong = "参数输入有误";
	
	
}
